# 构造方法
class Person:
    def __init__(self,name,sex):
        self.name = name
        self.sex = sex
    def introduce(self):
        print(f'姓名：{self.name}')
        print(f'性别：{self.sex}')


